﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EFFC.Net.Data.Base;

namespace EFFC.Net.Returns
{
    [Serializable]
    public class IsValidRtn:ReturnStd
    {
        public IsValidRtn()
        {
            AddReElement("IsValid", typeof(bool));
            AddReElement("ValidCode");
        }

        public bool IsValid
        {
            get
            {
                return this.GetValue<bool>("IsValid");
            }
            set
            {
                _p["IsValid"].Value = value;
            }
        }

        public string ValidCode
        {
            get
            {
                return this.GetValue<string>("ValidCode");
            }
            set
            {
                _p["ValidCode"].Value = value;
            }
        }

        
    }
}
